export const fileConfig = () => ({
  file: {
    uploadPath: process.env.UPLOAD_PATH || './uploads',
    staticPath: process.env.STATIC_PATH || './public',
    maxSize: parseInt(process.env.MAX_FILE_SIZE || '10485760'), // 10MB
    maxFiles: parseInt(process.env.MAX_FILES || '5'),
    allowedMimeTypes: [
      'image/jpeg',
      'image/png',
      'image/gif',
      'image/webp',
      'application/pdf',
      'text/plain',
      'application/msword',
      'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
    ]
  }
})
